package cn.liuxiany.alibaba.common.constant;

/**
 * @Description 业务异常常量池
 * 利用interface中变量天生是public static final的特性
 * @Author liuxiany
 * @Date 2023/10/31
 */
public interface BusinessConstants {

    String BUSI_SUCCESS_CODE = "000000";
    String BUSI_SUCCESS_MESSAGE = "操作成功";
    String BUSI_FAILURE_CODE = "999999";
    String BUSI_FAILURE_MESSAGE = "操作失败";
    String DATAVALID_FAILURE_CODE = "400001";
    String DATAVALID_FAILURE_MESSAGE = "数据校验失败";
    String DATA_NOT_EXISTS_CODE = "400002";
    String DATA_NOT_EXISTS_MESSAGE = "数据不存在";
    String BUSI_EXCEPTION_CODE = "500001";
    String BUSI_EXCEPTION_MESSAGE = "业务异常";
    String SYSTEM_EXCEPTION_CODE = "500002";
    String SYSTEM_EXCEPTION_MESSAGE = "系统异常";
}
